home *** CD-ROM | disk | FTP | other *** search
/ Scene Storm / Scene Storm - Volume 1.iso / coding / c / nullmodem / src / protos.h < prev   
C/C++ Source or Header  |  1995-12-18  |  2KB  |  47 lines

  1.  
  2. /* device.c */
  3. struct NullModem *CreateModem ( ULONG modemnum );
  4. struct NullBase *DevOpen ( __D0 ULONG unitnum , __D1 ULONG flags , __A1 struct IOExtSer *iob );
  5. APTR DevClose ( __A1 struct IOExtSer *iob );
  6. APTR DevExpunge ( void );
  7. ULONG DevReserved ( void );
  8. void DevBeginIO ( __A1 struct IOExtSer *iob );
  9. ULONG DevAbortIO ( __A1 struct IOExtSer *iob );
  10.  
  11. /* cmd.c */
  12. struct IOExtSer *cmd_invalid ( struct IOExtSer *iob );
  13. struct IOExtSer *cmd_reset ( struct IOExtSer *iob );
  14. struct IOExtSer *cmd_read ( struct IOExtSer *iob );
  15. struct IOExtSer *cmd_write ( struct IOExtSer *iob );
  16. struct IOExtSer *cmd_update ( struct IOExtSer *iob );
  17. struct IOExtSer *cmd_clear ( struct IOExtSer *iob );
  18. struct IOExtSer *cmd_stop ( struct IOExtSer *iob );
  19. struct IOExtSer *cmd_start ( struct IOExtSer *iob );
  20. struct IOExtSer *cmd_flush ( struct IOExtSer *iob );
  21. struct IOExtSer *sdcmd_query ( struct IOExtSer *iob );
  22. struct IOExtSer *sdcmd_break ( struct IOExtSer *iob );
  23. struct IOExtSer *sdcmd_setparams ( struct IOExtSer *iob );
  24. struct IOExtSer *asdg_dtrcontrol ( struct IOExtSer *iob );
  25.  
  26. /* modem.c */
  27. void modem_task ( void );
  28. int put_char ( struct NullUnit *unit , char c );
  29. void put_str ( struct NullUnit *unit , char *ptr );
  30. void put_msg ( struct NullUnit *unit , int num );
  31. void do_command ( struct NullUnit *unit );
  32. void copy_data ( struct NullUnit *unit , struct NullUnit *other );
  33. void do_connect ( struct NullUnit *u0 , struct NullUnit *u1 );
  34. void do_timer ( struct NullUnit *unit , struct NullUnit *other );
  35. char *varname ( UWORD unitnum );
  36. int S_Restore ( struct NullUnit *unit , int load );
  37. int S_Save ( struct NullUnit *unit );
  38.  
  39. /* debug.c */
  40. void dputchar ( __d0 ULONG c );
  41. void dprintf ( struct NullUnit *unit , int level , char *fmt , ...);
  42.  
  43. /* init.c */
  44. long start ( void );
  45. struct NullBase *DevInit ( __A0 APTR seg );
  46. void NewList ( struct List *list );
  47.